package cn.goktech.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

import java.util.Arrays;

@Component
public class LogAspect02 {

    public void before(JoinPoint point) {
        System.out.println("【LogAspect02前置通知】。。。方法：" + point.getSignature().getName() + ",参数=" + Arrays.toString(point.getArgs()));
    }
}
